#ifndef BOXFORM_H
#define BOXFORM_H

#include <QDialog>
#include "datebase.h"
#include <QPaintEvent>
#include <QPainter>
namespace Ui {
    class BoxForm;
}

class BoxForm : public QDialog
{
    Q_OBJECT

public:
    explicit BoxForm(datebase *db,int ID,QWidget *parent = 0);
    ~BoxForm();
    void paintEvent(QPaintEvent *);
private:
    Ui::BoxForm *ui;
    datebase *box_db;
    int box_ID;

private slots:
    void on_pushButton_Quit_clicked();
    void on_pushButton_OK_clicked();
    void GetBoxInfo();
    void getNet();
};

#endif // BOXFORM_H
